<?php

namespace App\Service\Message;

use App\Model\DailyTaskLog;
use App\Service\BaseService;

/**
 * 新消息提醒
 */
class NewNoticeService extends BaseService
{
    public function handle()
    {
        $userId = $this->getUserId();
        $ret = [
            //通话记录新消息
            'voicecall' => 0, //to do
            //个人中心-每日有奖
            'daily_task' => DailyTaskLog::getNew($userId),
        ];
        return $ret;
    }
}
